package job.zijie;

import java.io.PrintStream;

/**
 * @author wq
 */
public class PrintString {
    public static void main(String[] args) {
        PrintString printString=new PrintString();
        printString.print("helloworld",0);
    }
    public void print(String str,int index){
        if(index>=str.length()){
            return;
        }
        System.out.print(str.charAt(index));
        print(str,index+1);
    }
}
